import request from '../request'
const PLACE_API = '/member/address'
// const PLACE_DEL = '/member/address/'

export function placemapapi(obj) {
    return request({
        url: PLACE_API,
        method: 'post',
        data: obj
    })
}
export function placeaddress() {
    return request({
        url: PLACE_API,
        method: 'get',
    })
}
// export function placeaddel(id) {
//     return request({
//         url: PLACE_DEL+id,
//         method: 'delete',
//     })
// }
export function placeadedit(id, obj) {
    return request({
        url: `/member/address/${id}`,
        method: 'put',
        data: obj
    })
}